[INFO] cloning repository https://github.com/uglyoldbob/bluetooth-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uglyoldbob/bluetooth-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuglyoldbob%2Fbluetooth-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuglyoldbob%2Fbluetooth-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 788ac12567eefba86a542153d3c1667125b93521
[INFO] fixing uglyoldbob/bluetooth-rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuglyoldbob%2Fbluetooth-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/uglyoldbob/bluetooth-rust
[INFO] finished tweaking git repo https://github.com/uglyoldbob/bluetooth-rust
[INFO] tweaked toml for git repo https://github.com/uglyoldbob/bluetooth-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/uglyoldbob/bluetooth-rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/uglyoldbob/bluetooth-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wayland-protocols-plasma v0.3.6
[INFO] [stderr]   Downloaded java-locator v0.1.9
[INFO] [stderr]   Downloaded simple_logger v5.2.0
[INFO] [stderr]   Downloaded tlv_parser v0.10.0
[INFO] [stderr]   Downloaded jni-min-helper v0.3.0
[INFO] [stderr]   Downloaded bluer v0.17.4
[INFO] [stderr]   Downloaded prettyplease v0.2.34
[INFO] [stderr]   Downloaded custom_debug v0.6.2
[INFO] [stderr]   Downloaded custom_debug_derive v0.6.2
[INFO] [stderr]   Downloaded dbus-tokio v0.7.6
[INFO] [stderr]   Downloaded dbus-crossroads v0.5.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 736176e1b32e44d52bc259efcdfc80c43dedf8e12725e5a6471b9ef88360fa6f
[INFO] running `Command { std: "docker" "start" "736176e1b32e44d52bc259efcdfc80c43dedf8e12725e5a6471b9ef88360fa6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "736176e1b32e44d52bc259efcdfc80c43dedf8e12725e5a6471b9ef88360fa6f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "736176e1b32e44d52bc259efcdfc80c43dedf8e12725e5a6471b9ef88360fa6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "736176e1b32e44d52bc259efcdfc80c43dedf8e12725e5a6471b9ef88360fa6f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling libdbus-sys v0.2.7
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling uuid v1.23.0
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking macaddr v1.0.1
[INFO] [stderr]     Checking aliasable v0.1.3
[INFO] [stderr]     Checking colored v3.1.1
[INFO] [stderr]     Checking tlv_parser v0.10.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking simple_logger v5.2.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling ouroboros_macro v0.18.5
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling enum_dispatch v0.3.13
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking ouroboros v0.18.5
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling custom_debug_derive v0.6.2
[INFO] [stderr]     Checking custom_debug v0.6.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bluer v0.17.4
[INFO] [stderr]     Checking dbus v0.9.10
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking dbus-crossroads v0.5.3
[INFO] [stderr]     Checking dbus-tokio v0.7.6
[INFO] [stderr]     Checking bluetooth-rust v0.3.9 (/opt/rustwide/workdir/bluetooth-rust)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> bluetooth-rust/src/linux.rs:214:49
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn supports_async(&mut self) -> Option<&mut (dyn super::AsyncReadWrite)> {
[INFO] [stdout]     |                                                 ^                         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 214 -     fn supports_async(&mut self) -> Option<&mut (dyn super::AsyncReadWrite)> {
[INFO] [stdout] 214 +     fn supports_async(&mut self) -> Option<&mut dyn super::AsyncReadWrite> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:425:9
[INFO] [stdout]     |
[INFO] [stdout] 415 | /             return Ok(BluetoothAdapter::Bluez(
[INFO] [stdout] 416 | |                 linux::BluetoothHandler::new(self.s.unwrap()).await?,
[INFO] [stdout] 417 | |             ));
[INFO] [stdout]     | |______________- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 425 |           Err("No async builders available".to_string())
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> bluetooth-rust/src/linux.rs:214:49
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn supports_async(&mut self) -> Option<&mut (dyn super::AsyncReadWrite)> {
[INFO] [stdout]     |                                                 ^                         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 214 -     fn supports_async(&mut self) -> Option<&mut (dyn super::AsyncReadWrite)> {
[INFO] [stdout] 214 +     fn supports_async(&mut self) -> Option<&mut dyn super::AsyncReadWrite> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:425:9
[INFO] [stdout]     |
[INFO] [stdout] 415 | /             return Ok(BluetoothAdapter::Bluez(
[INFO] [stdout] 416 | |                 linux::BluetoothHandler::new(self.s.unwrap()).await?,
[INFO] [stdout] 417 | |             ));
[INFO] [stdout]     | |______________- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 425 |           Err("No async builders available".to_string())
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `uuid16` is never used
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:225:4
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn uuid16(uuid: u16) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_sdp_request` is never used
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:232:4
[INFO] [stdout]     |
[INFO] [stdout] 232 | fn build_sdp_request(uuid: u16, transaction_id: u16) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `enable` and `disable` are never used
[INFO] [stdout]    --> bluetooth-rust/src/linux.rs:611:14
[INFO] [stdout]     |
[INFO] [stdout] 576 | impl BluetoothHandler {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 611 |     async fn enable(&mut self) {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 619 |     async fn disable(&mut self) {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pdu_id`, `transaction_id`, `parameter_length`, and `attribute_lists_byte_count` are never read
[INFO] [stdout]    --> bluetooth-rust/src/sdp.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct SdpResponse {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 133 |     pub pdu_id: u8,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 134 |     pub transaction_id: u16,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 135 |     pub parameter_length: u16,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 136 |     pub attribute_lists_byte_count: u16,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SdpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:592:5
[INFO] [stdout]     |
[INFO] [stdout] 592 |     async fn accept(self) -> Result<BluetoothStream, String>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]     = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 592 -     async fn accept(self) -> Result<BluetoothStream, String>;
[INFO] [stdout] 592 +     fn accept(self) -> impl std::future::Future<Output = Result<BluetoothStream, String>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:625:5
[INFO] [stdout]     |
[INFO] [stdout] 625 |     async fn connectable(&mut self) -> Result<BluetoothRfcommConnectableAsync, String>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 625 -     async fn connectable(&mut self) -> Result<BluetoothRfcommConnectableAsync, String>;
[INFO] [stdout] 625 +     fn connectable(&mut self) -> impl std::future::Future<Output = Result<BluetoothRfcommConnectableAsync, String>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `uuid16` is never used
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:225:4
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn uuid16(uuid: u16) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_sdp_request` is never used
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:232:4
[INFO] [stdout]     |
[INFO] [stdout] 232 | fn build_sdp_request(uuid: u16, transaction_id: u16) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `enable` and `disable` are never used
[INFO] [stdout]    --> bluetooth-rust/src/linux.rs:611:14
[INFO] [stdout]     |
[INFO] [stdout] 576 | impl BluetoothHandler {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 611 |     async fn enable(&mut self) {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 619 |     async fn disable(&mut self) {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pdu_id`, `transaction_id`, `parameter_length`, and `attribute_lists_byte_count` are never read
[INFO] [stdout]    --> bluetooth-rust/src/sdp.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct SdpResponse {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 133 |     pub pdu_id: u8,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 134 |     pub transaction_id: u16,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 135 |     pub parameter_length: u16,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 136 |     pub attribute_lists_byte_count: u16,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SdpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:592:5
[INFO] [stdout]     |
[INFO] [stdout] 592 |     async fn accept(self) -> Result<BluetoothStream, String>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]     = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 592 -     async fn accept(self) -> Result<BluetoothStream, String>;
[INFO] [stdout] 592 +     fn accept(self) -> impl std::future::Future<Output = Result<BluetoothStream, String>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> bluetooth-rust/src/lib.rs:625:5
[INFO] [stdout]     |
[INFO] [stdout] 625 |     async fn connectable(&mut self) -> Result<BluetoothRfcommConnectableAsync, String>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 625 -     async fn connectable(&mut self) -> Result<BluetoothRfcommConnectableAsync, String>;
[INFO] [stdout] 625 +     fn connectable(&mut self) -> impl std::future::Future<Output = Result<BluetoothRfcommConnectableAsync, String>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]    --> bluetooth-rust/examples/linux/main.rs:893:24
[INFO] [stdout]     |
[INFO] [stdout] 893 |         let a = socket.write_all(&packet);
[INFO] [stdout]     |                        ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]    --> bluetooth-rust/examples/linux/main.rs:894:24
[INFO] [stdout]     |
[INFO] [stdout] 894 |         let b = socket.flush();
[INFO] [stdout]     |                        ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]    --> bluetooth-rust/examples/linux/main.rs:914:31
[INFO] [stdout]     |
[INFO] [stdout] 914 |         if let Ok(a) = socket.read(&mut buf) {
[INFO] [stdout]     |                               ^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_exact` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]    --> bluetooth-rust/examples/linux/main.rs:970:21
[INFO] [stdout]     |
[INFO] [stdout] 970 |         self.socket.read_exact(&mut header).ok()?;
[INFO] [stdout]     |                     ^^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_exact` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]    --> bluetooth-rust/examples/linux/main.rs:986:25
[INFO] [stdout]     |
[INFO] [stdout] 986 |             self.socket.read_exact(&mut full[3..]).ok()?;
[INFO] [stdout]     |                         ^^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]    --> bluetooth-rust/examples/linux/main.rs:995:21
[INFO] [stdout]     |
[INFO] [stdout] 995 |         self.socket.write_all(&p);
[INFO] [stdout]     |                     ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]    --> bluetooth-rust/examples/linux/main.rs:996:21
[INFO] [stdout]     |
[INFO] [stdout] 996 |         self.socket.flush();
[INFO] [stdout]     |                     ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1017:21
[INFO] [stdout]      |
[INFO] [stdout] 1017 |         self.socket.write_all(&p).ok();
[INFO] [stdout]      |                     ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1018:21
[INFO] [stdout]      |
[INFO] [stdout] 1018 |         self.socket.flush().ok();
[INFO] [stdout]      |                     ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1048:21
[INFO] [stdout]      |
[INFO] [stdout] 1048 |         self.socket.write_all(&pkt).ok();
[INFO] [stdout]      |                     ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1049:21
[INFO] [stdout]      |
[INFO] [stdout] 1049 |         self.socket.flush().ok();
[INFO] [stdout]      |                     ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1064:25
[INFO] [stdout]      |
[INFO] [stdout] 1064 |             self.socket.write_all(&pkt).ok();
[INFO] [stdout]      |                         ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1065:25
[INFO] [stdout]      |
[INFO] [stdout] 1065 |             self.socket.flush().ok();
[INFO] [stdout]      |                         ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1079:21
[INFO] [stdout]      |
[INFO] [stdout] 1079 |         self.socket.write_all(&p).ok();
[INFO] [stdout]      |                     ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1080:21
[INFO] [stdout]      |
[INFO] [stdout] 1080 |         self.socket.flush().ok();
[INFO] [stdout]      |                     ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1103:21
[INFO] [stdout]      |
[INFO] [stdout] 1103 |         self.socket.write_all(&req.serialize()).ok();
[INFO] [stdout]      |                     ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1104:21
[INFO] [stdout]      |
[INFO] [stdout] 1104 |         self.socket.flush().ok();
[INFO] [stdout]      |                     ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1203:29
[INFO] [stdout]      |
[INFO] [stdout] 1203 |                 self.socket.write_all(&cont).ok();
[INFO] [stdout]      |                             ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1204:29
[INFO] [stdout]      |
[INFO] [stdout] 1204 |                 self.socket.flush().ok();
[INFO] [stdout]      |                             ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1286:21
[INFO] [stdout]      |
[INFO] [stdout] 1286 |         self.socket.write_all(&pkt).ok();
[INFO] [stdout]      |                     ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1287:21
[INFO] [stdout]      |
[INFO] [stdout] 1287 |         self.socket.flush().ok();
[INFO] [stdout]      |                     ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1297:29
[INFO] [stdout]      |
[INFO] [stdout] 1297 |                 self.socket.write_all(&final_put).ok();
[INFO] [stdout]      |                             ^^^^^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1298:29
[INFO] [stdout]      |
[INFO] [stdout] 1298 |                 self.socket.flush().ok();
[INFO] [stdout]      |                             ^^^^^ method not found in `BluetoothSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connect` found for enum `BluetoothSocket` in the current scope
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1315:22
[INFO] [stdout]      |
[INFO] [stdout] 1315 |         match socket.connect() {
[INFO] [stdout]      |                      ^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: there is a method `is_connected` with a similar name
[INFO] [stdout]      |
[INFO] [stdout] 1315 -         match socket.connect() {
[INFO] [stdout] 1315 +         match socket.is_connected() {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> bluetooth-rust/examples/linux/main.rs:1593:16
[INFO] [stdout]      |
[INFO] [stdout] 1593 |         if let Some(devs) = a.get_paired_devices() {
[INFO] [stdout]      |                ^^^^^^^^^^   ---------------------- this expression has type `Pin<Box<dyn Future<Output = Option<Vec<BluetoothDevice>>> + Send>>`
[INFO] [stdout]      |                |
[INFO] [stdout]      |                expected `Pin<Box<...>>`, found `Option<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected struct `Pin<Box<dyn Future<Output = Option<Vec<BluetoothDevice>>> + Send>>`
[INFO] [stdout]                   found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bluetooth-rust` (example "linux") due to 25 previous errors
[INFO] running `Command { std: "docker" "inspect" "736176e1b32e44d52bc259efcdfc80c43dedf8e12725e5a6471b9ef88360fa6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "736176e1b32e44d52bc259efcdfc80c43dedf8e12725e5a6471b9ef88360fa6f", kill_on_drop: false }`
[INFO] [stdout] 736176e1b32e44d52bc259efcdfc80c43dedf8e12725e5a6471b9ef88360fa6f
